
package com.zbkj.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 团购店铺表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "团购店铺", description = "团购店铺信息表")
public class EbGroupBuyShopResponse implements Serializable {

    private static final long serialVersionUID = 1954434323202813419L;
    @ApiModelProperty(value = "店铺ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关联用户ID")
    private Long userId;
    @ApiModelProperty(value = "商户id")
    private Integer merId;
    private String  merName;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "店铺封面URL")
    private String shopUrl;

    @ApiModelProperty(value = "行业分类ID")
    private List<Integer> industryIdList;
    private List<Integer> threeLevelIndustryIdList;
    @ApiModelProperty(value = "行业分类")
    private List<String> industryNameList;

    @ApiModelProperty(value = "主营类目ID")
    private List<Integer> mainCategoryIdList;
    @ApiModelProperty(value = "主营类目")
    private List<String> mainCategoryNameList;
    private List<String> threeLevelIndustryNameList;

    @ApiModelProperty(value = "联系人名称")
    private String contactName;

    @ApiModelProperty(value = "联系电话")
    private String contactPhone;

    @ApiModelProperty(value = "联系邮箱")
    private String contactEmail;

    @ApiModelProperty(value = "省份编码")
    private String provinceCode;

    @ApiModelProperty(value = "省份名称")
    private String provinceName;

    @ApiModelProperty(value = "城市编码")
    private String cityCode;

    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @ApiModelProperty(value = "区编码")
    private String districtCode;

    @ApiModelProperty(value = "区名称")
    private String districtName;

    @ApiModelProperty(value = "详细地址(街道/门牌号)")
    private String addressDetail;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "营业状态:1-营业中,2-装修中,3-停业 4 暂停营业")
    private Integer businessStatus;

    @ApiModelProperty(value = "保障服务：0随时退,1过期退,2免预约(多个服务逗号拼接)")
    private String guaranteeServices;

    @ApiModelProperty(value = "店铺banner图URL(多个逗号拼接)")
    private List<String> shopBannerList;

    @ApiModelProperty(value = "店铺图片URL(多个逗号拼接)")
    private List<String> shopImageList;

    @ApiModelProperty(value = "店铺描述")
    private String description;

    @ApiModelProperty(value = "审核状态:0-待审核,1-已通过,2-已拒绝")
    private Integer status;

    @ApiModelProperty(value = "入驻时间")
    private Date registerTime;
    @ApiModelProperty(value = "拒绝原因")
    private String remarks;
    private String shopHoursText;
    /**
     * 店铺距离用户
     */
    private String userDistance;
    /**
     * 店铺销量
     */
    private int salesVolume;
    //营业时间
    List<EbGroupBuyShopBusinessHoursResponse> hoursList;
    List<EbGroupPurchaseResponse> goodsList;
}
